/*
 * @Description: Jishupu-Admin
 * @Author: 技术铺<jishupu@qq.com>
 * @Date: 2021-12-23
 */
export function goBack() {
  this.$router.go(-1)
}

export function closeBack(route_name, params) {
  this.$store.dispatch('tagsView/delView', this.$route)
  if (route_name) {
    this.$router.push({ name: route_name, params: params })
    return
  }
  this.$router.go(-1)
}

